<?php
/**
* @Author By Chris
*
* Created on 2011-7-28
*
*/

class CategoryModel extends Model
{
	protected $_validate = array(
		array('c_name','require','分类名称不能为空!'),
	
	);
	
	public function updateCategoryCache()
	{
//		$categoryCache  = $this->select();
		return F('categoryCache',$this->select());
	}
}
?>